package com.kj.xuyuan.mine;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.kj.xuyuan.R;
import com.kj.xuyuan.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 认证中心
 */
public class AuthCenterActivity extends BaseActivity {

    @BindView(R.id.tv_real_person_auth)
    TextView tvRealPersonAuth;
    @BindView(R.id.tv_real_name_auth)
    TextView tvRealNameAuth;

    public static void actionStar(Context context) {
        Intent intent = new Intent(context, AuthCenterActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void init(Bundle savedInstanceState) {

    }

    @Override
    protected int setLayoutResourceID() {
        return R.layout.activity_auth_center;
    }

    @Override
    protected void initView() {
        setTitleText("认证中心");
        //rvAuth  item item_auth
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getTitleBarType() {
        return 0;
    }

    @OnClick({R.id.tv_real_person_auth, R.id.tv_real_name_auth})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.tv_real_person_auth:
                RealPersonAuthActivity.actionStar(context);
                break;
            case R.id.tv_real_name_auth:
                RealNameAuthActivity.actionStar(context);
                break;
        }
    }
}